cmake_minimum_required(VERSION 3.17)
project(data-structure-programming-using-c)

set(CMAKE_CXX_STANDARD 14)


#链式栈测试
#add_executable(main linkedstack/stackapplication.cpp linkedstack/main.cpp linkedstack/person.cpp)

#顺序栈测试
#add_executable(main stack/stack.h stack/stack.c stack/main.c)

#串测试
#add_executable(main string/string.h string/main.c string/string.c binarytree/binarytree.h)

#二叉树测试
#add_executable(main binarytree/binarytree.h binarytree/main.c binarytree/binarytree.c programming/main.c)

#programming
add_executable(main programming/main.c)